$(function () {
    var orderSn = CoreUtil.getQueryVariable("orderSn");

    CoreUtil.sendPost("/api/order/getOrder",{"orderSn": orderSn},function (res) {
        $("#paymoney").html("<em>￥</em>" + res.data.orderMoney);
        $("#payOk").html("下单支付¥" + res.data.orderMoney + "，您的宝贝将在1小时内发货");
        $("#paymentMoney").html("¥ " + res.data.orderMoney);
    });

    var member = localStorage.getItem("member");
    var memberId = JSON.parse(member).id;

    $("#next").click(function () {
        location.href="my-indent-all.html?memberId=" + memberId + "&status=all"
    });

})
